package com.ruoyi.common.core.domain.e_checkingin;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤信息对象 e_checks
 *
 * @author JYW
 * @date 2024-01-31
 */
public class EChecks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 具体事项（-1：未打卡，0：签到，1：签退，2：加班，3迟到） */
    @Excel(name = "具体事项", readConverterExp = "-=1：未打卡，0：签到，1：签退，2：加班，3迟到")
    private Long stage;

    /** 签退时间 */
    @Excel(name = "签退时间")
    private String detailTime;

    /** 时间范围 */
    @Excel(name = "时间范围")
    private String timeScope;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStage(Long stage)
    {
        this.stage = stage;
    }

    public Long getStage()
    {
        return stage;
    }
    public void setDetailTime(String detailTime)
    {
        this.detailTime = detailTime;
    }

    public String getDetailTime()
    {
        return detailTime;
    }
    public void setTimeScope(String timeScope)
    {
        this.timeScope = timeScope;
    }

    public String getTimeScope()
    {
        return timeScope;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("stage", getStage())
                .append("detailTime", getDetailTime())
                .append("timeScope", getTimeScope())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
